import $ from 'zepto';
import Vue from 'vue';

import {
    ToastPlugin, AlertPlugin, ConfirmPlugin
}
from 'wmu2';
import {
    WiiGrid, WiiGridItem, WiiCalendar, WiiInput, WiiTextarea, WiiButton, WiiUploader, WiiImage, WiiImageGroup, WiiPicker, WiiCityPicker, WiiPopup, WiiPopupPicker, WiiDatetimePicker
}
from 'wmu2';

var components = [WiiGrid, WiiGridItem, WiiCalendar, WiiInput, WiiTextarea, WiiButton, WiiUploader, WiiImage, WiiImageGroup, WiiPicker, WiiCityPicker, WiiPopup, WiiPopupPicker, WiiDatetimePicker];


components.map(component => {
    Vue.component(component.name, component);
});

Vue.use(ToastPlugin);
Vue.use(AlertPlugin);


var app = new Vue({
    el: '#app',
    components: {
        WiiGrid,
        WiiGridItem,
        WiiButton
    },
    data() {
        return {
        }
    }
});
